CC=gcc

AFCOBJS=../../../nodemaster.o ../../../array_master.o ../../../string.o ../../../readargs.o ../../../stringnode.o ../../../base.o\
        ../../../dynamic_class.o ../../../dynamic_class_master.o ../../../hash_master.o ../../../dictionary.o ../../../cmd_parser.o

OBJS=../../easygui.o ../../widgets.o ../../widgets/*.o $(AFCOBJS)


CFLAGS=-g -Wall `pkg-config gtk+-2.0 --cflags` `pkg-config gmodule-2.0 --cflags`
LIBS=`pkg-config gtk+-2.0 --libs` `pkg-config gmodule-2.0 --libs`

PROGS=win

all:	$(PROGS)

win: win.c $(OBJS)
	$(CC) $(CFLAGS) -o win win.c $(OBJS) $(LIBS)

clean:
	rm $(PROGS)
